package MyApp
{
	public class Context
	{
		private static var _instance:Context;
		private static var map:Object;

		public static function get instance():Context
		{
			if(_instance==null){
				_instance=new Context();
				map=new Object();
			}
			return _instance;
		}
		
		public function setProperty(key:String, value:Object):void{
			map[key]=value;
		}
		
		public function getProperty(key:String):Object{
			return map[key];
		}

	}
}